{layout name="common@common_layout/template" /}
<section class="scrollable padder">
    <div class="m-b-md">
        <h3 class="m-b-none">增加学员</h3>
    </div>
    <section class="panel panel-default">
        <header class="panel-heading font-bold">
            名字
        </header>
        <iframe style="display: none;" name="ifr"></iframe>
        <div class="panel-body">
            <form class="form-horizontal" target="ifr"
                  action="{:url('administration_module/index/commit_add_edit',['now_consultant'=>$student_list.id])}"
                  method="post">
                <div class="form-group">
                    <label class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" disabled value="{$student_list.name}">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">身份证号码</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="id_card">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">所在班级</label>
                    <div class="col-sm-10">
                        <select name="class_id" class="form-control m-b">
                            {volist name="class_list" id="class" empty="暂时没有数据"}
                            <option value="{$class.id}">{$class.name}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">应缴纳学费</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" placeholder="请输入学生应缴纳的学费" name="tuition">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">缴纳学费类型</label>
                    <div class="col-sm-10">
                        <select name="type" class="form-control m-b">
                            <option selected value="1">自费</option>
                            <option value="2">贷款</option>
                        </select>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-id-1">缴纳日期</label>
                    <div class="col-sm-10">
                        <input class="Wdate" type="text" onClick="WdatePicker()" name="pay_date">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">学费说明</label>
                    <div class="col-sm-10">
                        <textarea name="pay_remark" class="form-control" placeholder="请输入学生的学费说明"
                                  style="max-width: 100%; height: 34px;"></textarea>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group" style="clear: both;">
                    <label class="col-sm-2 control-label">是否借电脑</label>
                    <div class="col-sm-10">
                        <div class="radio i-checks" style="float: left;">
                            <label>
                                <input type="radio" name="is_computer" value="0" checked>
                                <i></i>
                                否
                            </label>
                        </div>
                        <div class="radio i-checks" style="float: left; margin-left: 20px;">
                            <label>
                                <input type="radio" name="is_computer" value="1">
                                <i></i>
                                是
                            </label>
                        </div>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">电脑说明</label>
                    <div class="col-sm-10">
                        <textarea name="computer_remark" class="form-control" placeholder="请输入学生借用电脑说明"
                                  style="max-width: 100%; height: 34px;"></textarea>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">学生评价</label>
                    <div class="col-sm-10">
                        <textarea name="evaluation" class="form-control" placeholder="请输入对该学生的评价"
                                  style="max-width: 100%; height: 34px;"></textarea>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group" style="margin-bottom: 40px;">
                    <div class="col-sm-5 col-sm-offset-2">
                        <a href="{:url('consultant_module/index/show_list')}" class="btn btn-default">返回</a>
                        <button style="margin-left: 10px;" type="submit" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </section>
</section>